package StudyCode.summary.mycollection;

import java.util.Collections;
import java.util.LinkedList;
import java.util.List;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class ConstructsANewSynchronizedListBasedOnALinkedList {
	public static void main(String[] argv) {
		System.out.println(synchronizedList());
	}

	public static <E> List<E> synchronizedList() {
		return Collections.synchronizedList(new LinkedList<E>());
	}

}
